package com.chart.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chart.common.core.domain.entity.SysDemand;
import com.chart.system.domain.SysUserDemand;
import com.chart.system.mapper.SysUserDemandMapper;
import com.chart.system.service.ISysUserDemandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 角色 业务层处理
 * extends ServiceImpl<SysRoleMapper, SysRole>
 * @author chart
 */
@Service
public class SysUserDemandServiceImpl extends ServiceImpl<SysUserDemandMapper, SysUserDemand> implements ISysUserDemandService
{
    @Autowired
    private SysUserDemandMapper userDemandMapper;
    @Override
    public List<SysDemand> getDemandList(Long userId) {
        return userDemandMapper.getDemandList(userId);
    }
}
